package com.zmzncs.lmtc.module.promotion.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.promotion.pojo.customize_rule.CustomizeRule;
import com.zmzncs.lmtc.module.promotion.pojo.customize_rule.CustomizeRuleDTO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 高博文
 * @since 2020-08-14
 */
@Repository
public interface CustomizeRuleDao extends BaseMapper<CustomizeRule> {

//    /**根据id获取定制规则*/
//    CustomizeRuleDTO getDurationRuleById(Integer id);
    /**根据id获取定制规则*/
    CustomizeRuleDTO getCustomizeRuleByparkNum(Integer parkNum);

}
